/* fade */
.fade-enter-active,
.fade-leave-active {
	transition: all 0.1s ease;
}

.fade-enter-from,
.fade-leave-to {
	opacity: 0;
}

// 整体项目切换动画
.fade-transform-enter-from {
	opacity: 0;
	transform: translateX(-40px);
}

.fade-transform-enter-active {
	transition: all 0.3s ease-in;
}

.fade-transform-leave-active {
	transition: all 0.3s ease-out;
}

.fade-transform-leave-to {
	opacity: 0;
	transform: translateX(40px);
}

/* list transition */
.list-move, /* 对移动中的元素应用的过渡 */
.list-enter-active,
.list-leave-active {
	transition: all 0.3s ease;
}

.list-enter-from {
	opacity: 0;
	transform: translateX(-20px);
}

.list-leave-to {
	opacity: 0;
	transform: translateX(20px);
}

/* 确保将离开的元素从布局流中删除
  以便能够正确地计算移动的动画。 */
.list-leave-active {
	position: absolute;
}
